<template>
  <div id="app">
    <nav>
      <router-link to="/">测试1</router-link> |
      <router-link to="/trial2">测试2</router-link>
    </nav>
    <router-view />
  </div>
</template>

<style lang="less">
* {
  padding: 0;
  margin: 0;
}
#app,
html,
body {
  height: 100%;
  background: #ddd;
  overflow: hidden;
}
nav {
  margin-top: 100px;
  text-align: center;
  a {
    text-decoration: none;
  }
}
</style>
